<?php get_header(); ?>
<div class="left_wrap col-md-9 col-sm-12 col-xs-12">
    <div class="row">
        <div class="left_content col-md-12 col-sm-12 col-xs-12">
            <?php include(TEMPLATEPATH.'/inc/breadcrumbs.php'); ?>
            <!-- END BREADCRUMB -->
            <div class="left_content_inner">
                <?php if (have_posts()) : ?>
                    <?php while (have_posts()) : the_post(); ?>

                        <div class="search_item">
                            <div class="search_item_inner">
                                <div class="search_item_img">
                                    <a href="<?php the_permalink();?>" title="<?php the_title()?>"><?php
                                        $args=array('alt'=>get_the_title());
                                        the_post_thumbnail('full',$args); ?></a>
                                </div><!-- END IMG -->
                                <div class="search_item_content">
                                    <h2 class="search_item_title">
                                        <a href="<?php the_permalink();?>" title="<?php the_title()?>">
                                            <?php the_title()?>
                                        </a>
                                    </h2>
                                    <p><?php echo get_limit_content(200);?></p>
                                </div><!-- END CONTENT -->
                            </div><!-- END INNER -->
                            <div class="search_item_cat">
                                <div class="search_item_meta">
                                    <div class="meta">
                                        <span class="n_date"><?php the_time('d/m/Y') ?></span>
                                        <span class="n_author"><span>Danh mục:</span> <?php the_category(' , ') ?></span>
                                        <span class="n_view"><span>Lượt xem:</span> <?php the_views() ?></span>
                                    </div>
                                </div><!-- END META -->
                                <div class="search_item_more">
                                    <a href="<?php the_permalink();?>" title="<?php the_title()?>"> Xem thêm</a>
                                </div><!-- END MORE -->
                            </div><!-- END ITEM CAT -->
                        </div><!-- END SEARCH ITEM -->

                    <?php endwhile; ?>

                <?php else : ?>

                    <h2 class="search_not_found">Không có kết quả cần tìm.</h2>

                <?php endif; ?>
                <!-- END SOCIAL -->
            </div><!-- END LEFT CONTENT INNER -->
            <div class="archive_navi"><?php wp_pagenavi(); ?></div>
        </div><!-- END LEFT CONTENT -->

    </div>
</div><!-- END LEFT WRAP -->

<?php get_sidebar(); ?>

<?php get_footer(); ?>

